#include"CTriangle.h"

CTriangle::CTriangle(int a, int b) :Shape(a){
	height = b;
}
int CTriangle::area(){
	return width*height / 2;
}